package org.zht.dormpro.dorm.service;

import org.apache.ibatis.annotations.Param;
import org.zht.dormpro.auth.bean.PageBean;
import org.zht.dormpro.dorm.model.TbCollege;
import org.zht.dormpro.dorm.model.TbFloor;

import java.util.List;

public interface IFloorService {
    List<TbFloor> getFloorByCondition(PageBean pageBean);

    TbFloor getFloorById(Integer id);

    boolean editFloor(TbFloor floor);

    boolean addFloor(TbFloor floor);

    boolean deleteFloor(Integer id);

    boolean batchRemoveFloor(List<String> floorIds);

    List<TbFloor> getAllFloor(@Param("all") int all);

    List<TbFloor> getAllFloor();
}
